package com.bdqn.ThymeleafJPA.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.ThymeleafJPA.entity.User;

import java.util.List;

public interface IUserService extends IService<User> {
    User login(String usrName, String usrPassword);

    User getUserById(Integer usrId);

    List<User> findAllUsers();

    int saveUser(User user);

    int deleteUser(int id);

    List<User> selectUsersPage(Integer roleId, String usrName, int i, Integer userPageSize);

    User getUser(Long usrId);

    Object selectUserList();
}
